#!/usr/bin/make -f

NANT=MONO_SHARED_DIR=/tmp nant -buildfile:bld/icudotnet.mono.build
build: build-stamp
build-stamp:
	dh_testdir
	$(NANT) build
	touch build-stamp

clean:
	dh_testdir
	$(NANT) clean
	rm -f *-stamp
	dh_clean

install: build install-stamp
install-stamp:
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	$(NANT) install -D:INSTALL_DIR=../debian/tmp
	dh_install --sourcedir=debian/tmp
	dh_installdocs
	dh_installchangelogs
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb
	touch install-stamp

binary-indep: install

binary: binary-indep
